import App from "./App";
import { createSSRApp } from "vue";
import setupPlugins from "@/plugins";
import lgUi from "linge-ui-app";
import createI18n, { setLocale, getLocale, t } from "linge-locale";

export function createApp() {
  const app = createSSRApp(App);
  app.use(setupPlugins);
  app.use(createI18n({}));
  app.use(lgUi);
  return {
    app,
  };
}
